<?php

class Selection extends BaseEntity
{
	
	public function getDisplayView()
	{
		$t = "<tr><td><h3>".$this->pick."</h3></td>";
		$t = $t."<td class='selection'>".$this->player."<br/>";
		$t = $t."By ".$this->team."<br/>At ".date("g:ia",$this->time);
		return $t;
	}
	
	public function getRowView()
	{
		$t = "<tr><td><h3>".$this->pick."</h3></td>";
		$t = $t."<td>".$this->player."</td>";
		$t = $t."<td>".$this->team."</td>";
		$t = $t."<td>".date("g:ia",$this->time)."</td></tr>";
		return $t;
	}
	
	public function __toString()
	{
		return $this->pick.". ".$this->team." picked ".$this->player;
	}
	
}

?>
